﻿using Generate.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Generate.ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            MysqlCommad.DbName = "onehopedb";

            List<string> listTable = MysqlCommad.GetDataBaseTableList();
            foreach (var item in listTable)
            {
                if (item == "__efmigrationshistory")
                {
                    continue;
                }
                MysqlCommad.GenerateInsertTable(item, 4);
            }
            Console.WriteLine("执行完成！");
        }
    }
}
